<template>
<div>
  <div class="loading-box">
    <img :src="'./static/img/loading.svg'" />
    <div>正在为您加载...</div>
  </div>
</div>

</template>
<script>
export default{
  data () {
    return {
    }
  },
  methods: {
  }
}
</script>
<style scoped>
.loading-box{
  width: 100%;
  min-height: 200px;
  margin-top: 150px;
  text-align: center;
}
.loading-box div{
  font-size: 12px;
  color: #eee;
}
@keyframes fadeout{
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
@-webkit-keyframes fadeout{
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
@-moz-keyframes fadeout{
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
@-o-keyframes fadeout{
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
@-ms-keyframes fadeout{
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
.loading-box{
  animation:fadein 0.8s linear 1;
  -webkit-animation:fadein 0.8s linear 1;
  -moz-animation:fadein 0.8s linear 1;
  -o-animation:fadein 0.8s linear 1;
  -ms-animation:fadein 0.8s linear 1;
}
</style>
